package com.ferrlo.utils;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import com.renren.api.client.RenrenApiConfig;


public class RRListener implements ServletContextListener{

	@Override
	public void contextDestroyed(ServletContextEvent arg0) {
		
	}

	@Override
	public void contextInitialized(ServletContextEvent arg0) {
		RenrenApiConfig.renrenApiKey = RRAppConfig.API_KEY;
		RenrenApiConfig.renrenApiSecret = RRAppConfig.APP_SECRET;
	}

}
